package com.ruoyi.system.service.vantservice.loginservice;

import com.ruoyi.system.domain.customer.CustomerLogin;

public interface ApiLoginService {

    /**
     * 校验用户用户名和密码
     * @param customerLogin
     * @return
     */
    public String checkLoginCustomer(CustomerLogin customerLogin);

    /**
     * 添加用户信息
     * @param customerLogin
     * @return
     */
    public String addCustomer(CustomerLogin customerLogin);

    /**
     * 校验用户信息是否存在
     * @param customerLogin
     * @return
     */
    public String checkLoginPhone(CustomerLogin customerLogin);

    /**
     * 修改密码
     * @param customerLogin
     * @return
     */
    public int updateCustomer(CustomerLogin customerLogin);
}
